__author__ = 'xtzhao'

from django import forms
from Cfgupload.models import md5model

class UploadFileForm(forms.Form):
    title = forms.CharField(max_length=50)
    file = forms.FileField()


class GetFileForm(forms.Form):
    filename = forms.CharField()

class md5Form(forms.Form):
    class Meta:
        model = md5model
        fields = '__all__'